home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-01
/
ddj9304.zip
/
OS2WPS.ZIP
/
WPSREAD.CSC
< prev
Wrap
INI File
|
1993-01-18
|
1KB
|
32 lines
[LISTING THREE]
# Subclass of WPDataFile for Spreadsheet sample WPS application
#include <wpdataf.sc>
class: WPSpread,
external stem = wpspread, local,
external prefix = wpspread_,
classprefix = wpspreadM_,
major version = 1,
minor version = 2;
parent: WPDataFile;
passthru: C.ih;
#define INCL_WIN
#define INCL_DOS
#define INCL_DEV
#define INCL_GPI
#define INCL_WPCLASS
#define INCL_WPFOLDER
#include <os2.h>
#include <stdlib.h>
#include <string.h>
endpassthru; /* .ih */
data:
HPOINTER hicon, class; // class icon
methods:
override wpclsQueryTitle, class;
override wpclsInitData, class;
override wpclsQueryIcon, class;
override wpclsQueryInstanceFilter, class;
override wpclsQueryInstanceType, class;
override wpPrintObject;